import { TOGGLE_LOGIN, SET_INFO, TOGGLE_SIGN, RESET_DATA } from '@/constants/user'

export const toggleLogin = (data) => ({
  type: TOGGLE_LOGIN,
  data
})

export const toggleSign = (data) => ({
  type: TOGGLE_SIGN,
  data
})

export const setInfo = (data) => ({
  type: SET_INFO,
  data
})

export const resetData = () => ({
  type: RESET_DATA
})
